package com.chtw.oasystem.mapper;

import com.chtw.oasystem.bean.RecordsWork;
import com.chtw.oasystem.bean.RecordsWorkExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface RecordsWorkMapper {
    int countByExample(RecordsWorkExample example);

    int deleteByExample(RecordsWorkExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RecordsWork record);

    int insertSelective(RecordsWork record);

    List<RecordsWork> selectByExample(RecordsWorkExample example);

    RecordsWork selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RecordsWork record, @Param("example") RecordsWorkExample example);

    int updateByExample(@Param("record") RecordsWork record, @Param("example") RecordsWorkExample example);

    int updateByPrimaryKeySelective(RecordsWork record);

    int updateByPrimaryKey(RecordsWork record);
}